/*
 * XML Type:  Condition
 * Namespace: http:///org/isistan/flabot/coremodel.ecore
 * Java type: org.isistan.flabot.coremodelEcore.Condition
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.coremodelEcore;


/**
 * An XML Condition(@http:///org/isistan/flabot/coremodel.ecore).
 *
 * This is a complex type.
 */
public interface Condition extends org.isistan.flabot.coremodelEcore.NamedElementModel
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Condition.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("conditioneff5type");
    
    /**
     * Gets array of all "useCaseMap" elements
     */
    org.isistan.flabot.coremodelEcore.UseCaseMap[] getUseCaseMapArray();
    
    /**
     * Gets ith "useCaseMap" element
     */
    org.isistan.flabot.coremodelEcore.UseCaseMap getUseCaseMapArray(int i);
    
    /**
     * Returns number of "useCaseMap" element
     */
    int sizeOfUseCaseMapArray();
    
    /**
     * Sets array of all "useCaseMap" element
     */
    void setUseCaseMapArray(org.isistan.flabot.coremodelEcore.UseCaseMap[] useCaseMapArray);
    
    /**
     * Sets ith "useCaseMap" element
     */
    void setUseCaseMapArray(int i, org.isistan.flabot.coremodelEcore.UseCaseMap useCaseMap);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "useCaseMap" element
     */
    org.isistan.flabot.coremodelEcore.UseCaseMap insertNewUseCaseMap(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "useCaseMap" element
     */
    org.isistan.flabot.coremodelEcore.UseCaseMap addNewUseCaseMap();
    
    /**
     * Removes the ith "useCaseMap" element
     */
    void removeUseCaseMap(int i);
    
    /**
     * Gets array of all "event" elements
     */
    org.isistan.flabot.coremodelEcore.ConditionEvent[] getEventArray();
    
    /**
     * Gets ith "event" element
     */
    org.isistan.flabot.coremodelEcore.ConditionEvent getEventArray(int i);
    
    /**
     * Returns number of "event" element
     */
    int sizeOfEventArray();
    
    /**
     * Sets array of all "event" element
     */
    void setEventArray(org.isistan.flabot.coremodelEcore.ConditionEvent[] eventArray);
    
    /**
     * Sets ith "event" element
     */
    void setEventArray(int i, org.isistan.flabot.coremodelEcore.ConditionEvent event);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "event" element
     */
    org.isistan.flabot.coremodelEcore.ConditionEvent insertNewEvent(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "event" element
     */
    org.isistan.flabot.coremodelEcore.ConditionEvent addNewEvent();
    
    /**
     * Removes the ith "event" element
     */
    void removeEvent(int i);
    
    /**
     * Gets array of all "family" elements
     */
    org.isistan.flabot.coremodelEcore.Family[] getFamilyArray();
    
    /**
     * Gets ith "family" element
     */
    org.isistan.flabot.coremodelEcore.Family getFamilyArray(int i);
    
    /**
     * Returns number of "family" element
     */
    int sizeOfFamilyArray();
    
    /**
     * Sets array of all "family" element
     */
    void setFamilyArray(org.isistan.flabot.coremodelEcore.Family[] familyArray);
    
    /**
     * Sets ith "family" element
     */
    void setFamilyArray(int i, org.isistan.flabot.coremodelEcore.Family family);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "family" element
     */
    org.isistan.flabot.coremodelEcore.Family insertNewFamily(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "family" element
     */
    org.isistan.flabot.coremodelEcore.Family addNewFamily();
    
    /**
     * Removes the ith "family" element
     */
    void removeFamily(int i);
    
    /**
     * Gets array of all "sourceResponsibility" elements
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode[] getSourceResponsibilityArray();
    
    /**
     * Gets ith "sourceResponsibility" element
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode getSourceResponsibilityArray(int i);
    
    /**
     * Returns number of "sourceResponsibility" element
     */
    int sizeOfSourceResponsibilityArray();
    
    /**
     * Sets array of all "sourceResponsibility" element
     */
    void setSourceResponsibilityArray(org.isistan.flabot.coremodelEcore.ResponsibilityNode[] sourceResponsibilityArray);
    
    /**
     * Sets ith "sourceResponsibility" element
     */
    void setSourceResponsibilityArray(int i, org.isistan.flabot.coremodelEcore.ResponsibilityNode sourceResponsibility);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "sourceResponsibility" element
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode insertNewSourceResponsibility(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "sourceResponsibility" element
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode addNewSourceResponsibility();
    
    /**
     * Removes the ith "sourceResponsibility" element
     */
    void removeSourceResponsibility(int i);
    
    /**
     * Gets array of all "dependencyResponsibility" elements
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode[] getDependencyResponsibilityArray();
    
    /**
     * Gets ith "dependencyResponsibility" element
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode getDependencyResponsibilityArray(int i);
    
    /**
     * Returns number of "dependencyResponsibility" element
     */
    int sizeOfDependencyResponsibilityArray();
    
    /**
     * Sets array of all "dependencyResponsibility" element
     */
    void setDependencyResponsibilityArray(org.isistan.flabot.coremodelEcore.ResponsibilityNode[] dependencyResponsibilityArray);
    
    /**
     * Sets ith "dependencyResponsibility" element
     */
    void setDependencyResponsibilityArray(int i, org.isistan.flabot.coremodelEcore.ResponsibilityNode dependencyResponsibility);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "dependencyResponsibility" element
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode insertNewDependencyResponsibility(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "dependencyResponsibility" element
     */
    org.isistan.flabot.coremodelEcore.ResponsibilityNode addNewDependencyResponsibility();
    
    /**
     * Removes the ith "dependencyResponsibility" element
     */
    void removeDependencyResponsibility(int i);
    
    /**
     * Gets the "value" attribute
     */
    java.lang.String getValue();
    
    /**
     * Gets (as xml) the "value" attribute
     */
    org.apache.xmlbeans.XmlString xgetValue();
    
    /**
     * True if has "value" attribute
     */
    boolean isSetValue();
    
    /**
     * Sets the "value" attribute
     */
    void setValue(java.lang.String value);
    
    /**
     * Sets (as xml) the "value" attribute
     */
    void xsetValue(org.apache.xmlbeans.XmlString value);
    
    /**
     * Unsets the "value" attribute
     */
    void unsetValue();
    
    /**
     * Gets the "type" attribute
     */
    java.lang.String getType2();
    
    /**
     * Gets (as xml) the "type" attribute
     */
    org.apache.xmlbeans.XmlString xgetType2();
    
    /**
     * True if has "type" attribute
     */
    boolean isSetType2();
    
    /**
     * Sets the "type" attribute
     */
    void setType2(java.lang.String type2);
    
    /**
     * Sets (as xml) the "type" attribute
     */
    void xsetType2(org.apache.xmlbeans.XmlString type2);
    
    /**
     * Unsets the "type" attribute
     */
    void unsetType2();
    
    /**
     * Gets the "useCaseMap" attribute
     */
    java.lang.String getUseCaseMap2();
    
    /**
     * Gets (as xml) the "useCaseMap" attribute
     */
    org.apache.xmlbeans.XmlString xgetUseCaseMap2();
    
    /**
     * True if has "useCaseMap" attribute
     */
    boolean isSetUseCaseMap2();
    
    /**
     * Sets the "useCaseMap" attribute
     */
    void setUseCaseMap2(java.lang.String useCaseMap2);
    
    /**
     * Sets (as xml) the "useCaseMap" attribute
     */
    void xsetUseCaseMap2(org.apache.xmlbeans.XmlString useCaseMap2);
    
    /**
     * Unsets the "useCaseMap" attribute
     */
    void unsetUseCaseMap2();
    
    /**
     * Gets the "event" attribute
     */
    java.lang.String getEvent2();
    
    /**
     * Gets (as xml) the "event" attribute
     */
    org.apache.xmlbeans.XmlString xgetEvent2();
    
    /**
     * True if has "event" attribute
     */
    boolean isSetEvent2();
    
    /**
     * Sets the "event" attribute
     */
    void setEvent2(java.lang.String event2);
    
    /**
     * Sets (as xml) the "event" attribute
     */
    void xsetEvent2(org.apache.xmlbeans.XmlString event2);
    
    /**
     * Unsets the "event" attribute
     */
    void unsetEvent2();
    
    /**
     * Gets the "family" attribute
     */
    java.lang.String getFamily2();
    
    /**
     * Gets (as xml) the "family" attribute
     */
    org.apache.xmlbeans.XmlString xgetFamily2();
    
    /**
     * True if has "family" attribute
     */
    boolean isSetFamily2();
    
    /**
     * Sets the "family" attribute
     */
    void setFamily2(java.lang.String family2);
    
    /**
     * Sets (as xml) the "family" attribute
     */
    void xsetFamily2(org.apache.xmlbeans.XmlString family2);
    
    /**
     * Unsets the "family" attribute
     */
    void unsetFamily2();
    
    /**
     * Gets the "sourceResponsibility" attribute
     */
    java.lang.String getSourceResponsibility2();
    
    /**
     * Gets (as xml) the "sourceResponsibility" attribute
     */
    org.apache.xmlbeans.XmlString xgetSourceResponsibility2();
    
    /**
     * True if has "sourceResponsibility" attribute
     */
    boolean isSetSourceResponsibility2();
    
    /**
     * Sets the "sourceResponsibility" attribute
     */
    void setSourceResponsibility2(java.lang.String sourceResponsibility2);
    
    /**
     * Sets (as xml) the "sourceResponsibility" attribute
     */
    void xsetSourceResponsibility2(org.apache.xmlbeans.XmlString sourceResponsibility2);
    
    /**
     * Unsets the "sourceResponsibility" attribute
     */
    void unsetSourceResponsibility2();
    
    /**
     * Gets the "dependencyResponsibility" attribute
     */
    java.lang.String getDependencyResponsibility2();
    
    /**
     * Gets (as xml) the "dependencyResponsibility" attribute
     */
    org.apache.xmlbeans.XmlString xgetDependencyResponsibility2();
    
    /**
     * True if has "dependencyResponsibility" attribute
     */
    boolean isSetDependencyResponsibility2();
    
    /**
     * Sets the "dependencyResponsibility" attribute
     */
    void setDependencyResponsibility2(java.lang.String dependencyResponsibility2);
    
    /**
     * Sets (as xml) the "dependencyResponsibility" attribute
     */
    void xsetDependencyResponsibility2(org.apache.xmlbeans.XmlString dependencyResponsibility2);
    
    /**
     * Unsets the "dependencyResponsibility" attribute
     */
    void unsetDependencyResponsibility2();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.isistan.flabot.coremodelEcore.Condition newInstance() {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Condition parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.Condition parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.Condition parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.Condition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
